package com.cuckoo.cuckoo_app2.utils;

import android.util.Log;
import android.webkit.JavascriptInterface;

import java.util.Map;

public class JavaScroptParameterUtils {

    Map<String, String> map;

    public JavaScroptParameterUtils(Map<String, String> map) {
        this.map = map;
    }


    @JavascriptInterface
    public String getMap(String key) {
        return map.getOrDefault(key, "");
    }


}
